<div class='head'>
  <div class='title'>
    »  基本资料
  </div>
  <div class='tools'>
    <%= link_to_remote "▶返回", 
          :update => 'base_info',
          :url => show_base_info_user_url(@user),
          :method => :get,
          :html => {
            :class => :h
          } %>
  </div>
</div>
<div>
  <% remote_form_for @user, 
      :update => 'base_info',
      :url => update_base_info_user_url(@user),
      :method => :put do |f|
   %>
  <table width="700" cellspacing="4" cellpadding="3" border="0">
    <tbody>
      <tr>
        <td class="t px12"><b>昵称</b></td>
        <td class="px12">
          <%= f.text_field :nick_name, :size => 26, :class => :text %>
        </td>              
      </tr>
      <tr>
        <td class="t px12"><b>性别</b></td>
        <td class="px12">
          <%= f.radio_button :sex, :unknown, :class => :no %> <%= label :user,:sex_unknow, t(:unknown) %>
          <%= f.radio_button :sex, :man, :class => :no %> <%= label :user,:sex_man, t(:man)  %>
          <%= f.radio_button :sex, :woman, :class => :no %> <%= label :user,:sex_woman, t(:woman)  %>
        </td>              
      </tr>
      <tr>
        <td class="t px12"><b>邮箱</b></td>
        <td class="px12">
          <%= f.text_field :email, :size => 26, :class => :text %>
        </td>              
      </tr>
    </tbody>          
  </table>
  <button class="button positive" type="submit">
    <%= image_tag "users/user.png" %> 更新我的注册资料    
  </button>
  <% end %>
</div>